

public class guanxi {

            
    public static void main(String[] args) {
        
        //  == 判断两个值是否相等 结果肯定是 布尔类型的值 
        // 定义变量
        int a = 10;
        int b = 20;
        int c = 10;
        System.out.println(a==b);
        System.out.println(a==c);
        System.out.println("------------------------------");
        System.out.println(a!=b);
        System.out.println(a!=c);
        System.out.println("------------------------------");
        System.out.println(a>b);
        System.out.println(a>c);
        System.out.println("------------------------------");
        System.out.println(a>=b);
        System.out.println(a>=c); // 大于等于
        System.out.println("------------------------------");
        System.out.println(a = b);
        // 上面的动作是把 b 的值 赋值给了 a 并且输出 a
        




    }

      
    
}
